package com.xo.common.until;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "异常工具类")
public final class ExceptionUtil {

    @Operation(summary = "抛出运行时异常", description = "根据传入的信息抛出一个运行时异常")
    public static void throwException(String message) {
        throw new RuntimeException(message);
    }


}
